
package com.hlkj.pay.app.ad;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.pojo.CommonResult;
import com.hlkj.pay.vo.ad.req.AdOrderRefundApplyReq;
import com.hlkj.pay.vo.ad.req.AdOrderRefundApproveReq;

/**
 * @author HlpayTeam
 * @date 2024/10/23 13:01
 */
public interface IAdRefundOrderAppService {

    /**
     * 退款订单申请
     * 
     * @param adOrderRefundApplyReq
     * @return
     */
    CommonResult<Void> applyRefundOrder(AdOrderRefundApplyReq adOrderRefundApplyReq);

    /**
     * 审批退款订单
     * 
     * @param adOrderRefundApproveReq
     * @return
     */
    CommonResult<Void> approveRefundOrder(AdOrderRefundApproveReq adOrderRefundApproveReq);


    /**
     * 查询退款结果
     * 
     * @param orderNo
     * @return
     */
    boolean queryRefundStatus(String orderNo);
    /**
     * 一键退款
     * @param adOrderRefundApplyReq
     * @return
     */
	CommonResult<Void> createRefundOrder(AdOrderRefundApplyReq adOrderRefundApplyReq);
}
